<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Home.Master" Inherits="System.Web.Mvc.ViewPage<Aga.Psad.Mvc.Models.Clientes.ClienteDeClienteViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Eliminar Cliente
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="sidebar">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="box-style3">
            <tr>
                <td>
                    <h2>
                        <span>Adm.</span> de Clientes</h2>
                </td>
            </tr>
            <tr>
                <td>
                    <ul>
                        <li class="first"><a href="<%= VirtualPathUtility.ToAbsolute("~/Clientes/Index") %>">
                            Ver Clientes</a></li>
                        <li><a href="<%= VirtualPathUtility.ToAbsolute("~/Clientes/Create") %>">Nuevo Cliente</a></li>
                    </ul>
                </td>
            </tr>
        </table>
    </div>
    <div id="content">
        <div id="Div1">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="box-style1">
                <tr>
                    <td id="box2">
                        <h2>
                            Eliminar Cliente</h2>
                        <br />
                        <% using (Html.BeginForm())
                           {%>
                        <fieldset>
                            <legend>Cliente</legend>
                            <p>
                                <b>Id:</b>
                                <%= Html.Encode(Model.Id) %>
                                <%= Html.Hidden("Id") %>
                            <br />
                                <b>RazonSocial:</b>
                                <%= Html.Encode(Model.RazonSocial) %>
                            <br />
                                <b>Cuit:</b>
                                <%= Html.Encode(Model.Cuit) %>
                            <br />
                                <b>Usuario:</b>
                                <%= Html.Encode(Model.Usuario) %>
                            </p>
                            <p>
                                <%= Html.Hidden("Cliente.Id") %>
                                <input type="submit" value="Eliminar" />
                            </p>
                        </fieldset>
                        <% } %>
                        <div>
                            <%=Html.ActionLink("Cancelar", "Index")%>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
